package com.wdy.adapter;

/**
 * @ClassName: App
 * @Description: TODO
 * @Date: 2019/12/30 14:43
 * @Author: wangdy001
 * @Version: 1.0
 */
public class App {
    public static void main(String[] args) {
        FishingBoat fishingBoat = new FishingBoat();
        RowingBoatAdapter adapter = new RowingBoatAdapter(fishingBoat);

        Captain captain = new Captain(adapter);
        captain.row();
    }
}
